package com.server.model.all.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.server.model.all.constant.PatternConstant;
import lombok.*;
import lombok.experimental.FieldNameConstants;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class BaseEntity implements Serializable {

    @JsonFormat(pattern = PatternConstant.YYYY_MM_DD_HH_MM_SS)
    private String createTime;

    @JsonFormat(pattern = PatternConstant.YYYY_MM_DD_HH_MM_SS)
    private String updateTime;

    /**
     * 是否删除 1.逻辑删除删除  0正常
     * @author LXC
     * @date 2022/3/13 22:22
     */
    private Integer delFlag;
}
